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,22 +1,22 @@
#Exercise 3 : Sharing data between controllers
# Exercise 3 : Sharing data between controllers

##Summary
## Summary
Controllers often need to communicate and share data with each other. You are given a task to create a functionality to share data between two controllers.
Modify `index.html` file to share data between `LeftCtrl` and `RightCtrl`.

##Goal
## Goal
Use **ng-model** in appropriate places to ensure that after typing something in left or right input, both message holders are updated. Remember that all inputs
should be bound to the same property. Don't change the `controllers.js` file.

**Hint**
Take a look at `ng-init` directive in `index.html` file

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

##Setup
## Setup

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

```
yarn install
Expand All @@ -26,16 +26,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