Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exercise4 readme fix #38

Open
wants to merge 1 commit into
base: exercise4
Choose a base branch
from
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,10 +1,10 @@
#Exercise 4 : Defining a method on the scope
# Exercise 4 : Defining a method on the scope

##Summary
## Summary
You are provided with a simple application with two input fields that are not bound. You are supposed to replace **purr**
in the textarea, with a word specified in the text input below and display the resulting text inside h3 element(`display board`).

##Goals
## Goals

* create `replaceWord()` function inside `NewWordCtrl`
* `replaceWord()` should :
Expand All @@ -16,12 +16,12 @@ in the textarea, with a word specified in the text input below and display the r
* set `word` argument to *"purr"*
* `display board` should be updated as values in textarea or input change

##Before you start, please refer to:
## Before you start, please refer to:
* [angularjs-defining-a-method-on-the-scope](https://egghead.io/lessons/angularjs-defining-a-method-on-the-scope)

##Setup
## Setup

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

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