mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
fixes bullet/list issues in AngularJS markdown (#2534)
There looked to be some confused markdown usage; this has been corrected.
This commit is contained in:
parent
b95bbd93f0
commit
0401e0d5f0
@ -18,9 +18,10 @@ AngularJS extends HTML attributes with Directives, and binds data to HTML with E
|
|||||||
##What You Should Already Know
|
##What You Should Already Know
|
||||||
|
|
||||||
Before you study AngularJS, you should have a basic understanding of:
|
Before you study AngularJS, you should have a basic understanding of:
|
||||||
* HTML
|
|
||||||
* CSS
|
- HTML
|
||||||
* JavaScript
|
- CSS
|
||||||
|
- JavaScript
|
||||||
|
|
||||||
```html
|
```html
|
||||||
// AngularJS is a JavaScript framework. It is a library written in JavaScript.
|
// AngularJS is a JavaScript framework. It is a library written in JavaScript.
|
||||||
@ -279,11 +280,11 @@ angular.module('myApp', []).controller('namesCtrl', function($scope) {
|
|||||||
// Filters can be added to expressions and directives using a pipe character.
|
// Filters can be added to expressions and directives using a pipe character.
|
||||||
// AngularJS filters can be used to transform data:
|
// AngularJS filters can be used to transform data:
|
||||||
|
|
||||||
**currency: Format a number to a currency format.
|
- **currency**: Format a number to a currency format.
|
||||||
**filter: Select a subset of items from an array.
|
- **filter**: Select a subset of items from an array.
|
||||||
**lowercase: Format a string to lower case.
|
- **lowercase**: Format a string to lower case.
|
||||||
**orderBy: Orders an array by an expression.
|
- **orderBy**: Orders an array by an expression.
|
||||||
**uppercase: Format a string to upper case.
|
- **uppercase**: Format a string to upper case.
|
||||||
|
|
||||||
//A filter can be added to an expression with a pipe character (|) and a filter.
|
//A filter can be added to an expression with a pipe character (|) and a filter.
|
||||||
//(For the next two examples we will use the person controller from the previous chapter)
|
//(For the next two examples we will use the person controller from the previous chapter)
|
||||||
@ -696,13 +697,15 @@ app.controller('myCtrl', function($scope) {
|
|||||||
|
|
||||||
## Source & References
|
## Source & References
|
||||||
|
|
||||||
**Examples
|
**Examples**
|
||||||
* http://www.w3schools.com/angular/angular_examples.asp
|
|
||||||
|
|
||||||
**References
|
- http://www.w3schools.com/angular/angular_examples.asp
|
||||||
* http://www.w3schools.com/angular/angular_ref_directives.asp
|
|
||||||
* http://www.w3schools.com/angular/default.asp
|
**References**
|
||||||
* https://teamtreehouse.com/library/angular-basics/
|
|
||||||
|
- http://www.w3schools.com/angular/angular_ref_directives.asp
|
||||||
|
- http://www.w3schools.com/angular/default.asp
|
||||||
|
- https://teamtreehouse.com/library/angular-basics/
|
||||||
|
|
||||||
Feedback is welcome! You can find me in:
|
Feedback is welcome! You can find me in:
|
||||||
[@WalterC_87](https://twitter.com/WalterC_87), or
|
[@WalterC_87](https://twitter.com/WalterC_87), or
|
||||||
|
Loading…
Reference in New Issue
Block a user