"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/content/tutorial/step_09.ngdoc" between
angular.js-1.7.9.tar.gz and angular.js-1.8.0.tar.gz

About: AngularJS is a web application framework that assists with creating single-page applications that only require HTML, CSS, and JavaScript on the client side.

step_09.ngdoc  (angular.js-1.7.9):step_09.ngdoc  (angular.js-1.8.0)
skipping to change at line 34 skipping to change at line 34
`package.json` configuration file to include the new dependency: `package.json` configuration file to include the new dependency:
<br /> <br />
**`package.json`:** **`package.json`:**
```json ```json
{ {
"name": "angular-phonecat", "name": "angular-phonecat",
... ...
"dependencies": { "dependencies": {
"angular": "1.7.x", "angular": "1.8.x",
"angular-route": "1.7.x", "angular-route": "1.8.x",
"bootstrap": "3.3.x" "bootstrap": "3.3.x"
}, },
... ...
} }
``` ```
The new dependency `"angular-route": "1.7.x"` tells npm to install a version of The new dependency `"angular-route": "1.8.x"` tells npm to install a version of
the angular-route the angular-route
module that is compatible with version 1.7.x of AngularJS. We must tell npm to d module that is compatible with version 1.8.x of AngularJS. We must tell npm to d
ownload and install ownload and install
this dependency. this dependency.
``` ```
npm install npm install
``` ```
## Multiple Views, Routing and Layout Templates ## Multiple Views, Routing and Layout Templates
Our app is slowly growing and becoming more complex. Prior to this step, the app provided our users Our app is slowly growing and becoming more complex. Prior to this step, the app provided our users
with a single view (including the list of all phones), and all of the template c ode was located in with a single view (including the list of all phones), and all of the template c ode was located in
 End of changes. 2 change blocks. 
6 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)