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,20 +1,20 @@
#Exercise 2 : Controller
# Exercise 2 : Controller

##Summary
## Summary
Applications often need to display value that user has entered. You are provided with simple view containing title, three inputs and display board. Your task is to
implement functionality that will allow inputs to be displayed along with the information on the title and board.

##Goals
## Goals
* create **FruitCtrl.js** file with `FruitCtrl` controller belonging to `app` module
* in controller add three properties: `seller, name, count` with default values set to : **'Mr. John'**, **'apple'** and **3**.
* comments in `index.html` should be replaced with appropriate values from the inputs

##Before you start, please refer to:
## Before you start, please refer to:
* [angularjs-controller](https://egghead.io/lessons/angularjs-controllers)

##Setup
## Setup

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

```
yarn install
Expand All @@ -24,16 +24,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 run e2e tests in development mode:

Expand Down