Skip to content

Commit 91b9c10

Browse files
committed
Update README
1 parent 068c217 commit 91b9c10

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Angular + RequireJS Seed
2-
========================
1+
Angular + RequireJS Boilerplate
2+
===============================
33

44
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.
55

@@ -53,13 +53,20 @@ define({
5353
'/path' : 'subdir/Controller1',
5454
'/path/with/:id' : 'subdir/Controller2',
5555
'/more/path' : 'Controller3'
56-
}
56+
},
57+
defaultRedirect: '/path'
5758
});
5859
````
5960

6061
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.
6162

6263

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.
68+
69+
6370
Inspired by
6471
-----------
6572

0 commit comments

Comments
 (0)