Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#Exercise 25 : $routeProvider
# Exercise 25 : $routeProvider

##Summary
## Summary
You are provided with templates and controllers. Use your knowledge of services such as `$routeProvider`, `$routeParams` to configure routing.

##Goals
## Goals

* set `home.html` as a default page with appropriate controller (that initialize car brand and capacity)
* brand and engine capacity from inputs should be used as route params (**hint:** look at `home.html` "Next" button)
Expand All @@ -12,14 +12,14 @@ You are provided with templates and controllers. Use your knowledge of services
* having entered the word `spy` in any of the fields, you should be directed to `secret.html` page (**hint:** check if the path contains the word `spy`)


##Before you start, please refer to:
## Before you start, please refer to:
* [angularjs-routeprovider-api](https://egghead.io/lessons/angularjs-routeprovider-api)
* [angularjs-routeparams](https://egghead.io/lessons/angularjs-routeparams)
* [angularjs-redirectto](https://egghead.io/lessons/angularjs-redirectto)

##Setup
## Setup

###To install dependencies
### To install dependencies

```
yarn install
Expand All @@ -29,16 +29,16 @@ yarn install
bower install
```

###To start application in live reload mode
### To start application in live reload mode

grunt serve

###Jshint
### Jshint
To run verify jshint:

grunt jshint:default

###Run tests
### Run tests

To unit tests in development mode:

Expand Down