diff --git a/README.md b/README.md index 0770f73..71eb528 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -#Exercise 13 : Directives talking to controllers +# Exercise 13 : Directives talking to controllers -##Summary +## Summary In this exercise, your challenge is to share information between the controller and the directive. Implement a functionality that will allow you to add (when the mouse hovers over the green square) and remove (when the mouse hovers over the green square) snowflake. Snowflakes should be displayed in `Let it snow` section. -##Goals +## Goals * **snow.js** file should contain ***enter*** directive which talks to the `SnowCtrl` controller * create ***addPetal*** and ***removePetal*** functions to add and remove a snowflake from the `snow` array * the snowflake consist of a star `< span id="petal" class="glyphicon glyphicon-star">` and flake `*` @@ -14,12 +14,12 @@ snowflake. Snowflakes should be displayed in `Let it snow` section. **Hint** You can use ng-repeat directive and combine them together into one petal. -###Before you start, please refer to: +### Before you start, please refer to: * [angularjs-directives-talking-to-controllers](https://egghead.io/lessons/angularjs-directives-talking-to-controllers) -##Setup +## Setup -###To install dependencies +### To install dependencies ``` yarn install @@ -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: