You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
Angular + RequireJS Seed
2
-
========================
1
+
Angular + RequireJS Boilerplate
2
+
===============================
3
3
4
4
This project is an application skeleton for an ideal AngularJS web app. You can use it with a minimal configuration to easily bootstrap your angular projects.
5
5
@@ -53,13 +53,20 @@ define({
53
53
'/path':'subdir/Controller1',
54
54
'/path/with/:id':'subdir/Controller2',
55
55
'/more/path':'Controller3'
56
-
}
56
+
},
57
+
defaultRedirect:'/path'
57
58
});
58
59
````
59
60
60
61
Notice that, the controllers and views can be organized by placing them under sub-directories. But it still works, if you wish to place them directly under the `controllers` and `views` directories.
61
62
62
63
64
+
Seed Project : PhoneBook App
65
+
----------------------------
66
+
67
+
The PhoneBook example project included in this seed has two controllers (`Contact` and `ContactDetail`) and one service (`contactService`). The purpose is simply retrieving data from a model and populate the view accordingly.
0 commit comments