An open API service indexing awesome lists of open source software.

https://github.com/normandy72/expressions-and-interpolation

Expressions and interpolation in JS (and AngularJS). Coursera course "Single Page Web Applications with AngularJS" by Yaakov Chaikin
https://github.com/normandy72/expressions-and-interpolation

angular angularjs html html5 javascript js

Last synced: about 1 month ago
JSON representation

Expressions and interpolation in JS (and AngularJS). Coursera course "Single Page Web Applications with AngularJS" by Yaakov Chaikin

Awesome Lists containing this project

README

          

### Sequence
1. add main files
2. add script tags in index.html
3. add h1 and div tags
4. add ng-app attribute into html tag
5. add ng-controller attribute into div tag
6. in app.js create IIFE, add 'use strict'
7. create angular.module and .controller
8. add $inject property to controller function, create an array that contains variable 'scope' as string literally
9. define function MsgController
10. add {{name}} in index.html
11. create sayMessage property to $scope
12. call this function in index.html
13. add images
14. create button, add ng-click attribute which value is a function
15. add img, in src write {{stateOfBeing}} instead state in image name
16. in img tag change src on ng-src (that helps avoid mistakes when browser read code line by line and can't find image)