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,23 +1,23 @@
#Exercise 23 : templateCache
# Exercise 23 : templateCache

##Summary
## Summary
An application that can render same data in several different ways. The displayed templates are changed based on user interaction. Use template cache to improve user experience.

##Goals
## Goals
Utilise `templateCache` to store templates and render them in the directive. You start with two keywords: button, table - they represent coresponding templates:

* button - displays when **button** is entered
* table - displays when **table** is entered
* default - displays in any other case

##Before you start, please refer to:
## Before you start, please refer to:
* [angular templateCache](https://egghead.io/lessons/angularjs-templatecache)
* [$compile](https://code.angularjs.org/1.2.16/docs/api/ng/service/$compile)
* [$watch](https://egghead.io/lessons/angularjs-the-basics-of-scope-watch)

##Setup
## Setup

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

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