Releases: brianacdev/AngularContacts
Releases · brianacdev/AngularContacts
Step 8
Step 7
- Added the CreateContactController
- Added the NewContact property to the vm and initialized it to make sure the inputs are bound correctly
- Added the create contact route
- Added the needed references to the index.html
Step 6
- Added Angular Routes
- Modified the list of contacts so it uses the route-provider
- Added the ng-view to the index.html
- Added the required references to the index.html
- note: create contacts is not setup so it will not work
Step 5
- Injected $http into the ContactsService
- Populated the contact list using an HTTP GET for the contacts.json file
- Modified the ContactsService and the ContactsListController to support promises which are used in $http gets
Step 4
- Added the ContactsService Angular factory (service)
- Moved the source of the list of contacts from the controller to the service
- Added the required references to the index.html
Step 3
- Added the ContactListController
- Modified the index.html so that the list of contacts is coming from the controller
- Added the required references to the index.html
Step 2
- Added the angular module for the contacts application
- Added the required references to the index.html file
- Added some binding on the page
{{ 5 * 5 }}to verify that angular is referenced correctly
Step 1
- Starting Point
- Static HTML files provided
- All dependencies are provided
- If you are using node to host, type "npm install" to install all of the required node modules