Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes bullet/list issues in AngularJS markdown #2534

Merged
merged 1 commit into from
Oct 31, 2016
Merged
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
fixes bullet/list issues in AngularJS markdown
There looked to be some confused markdown usage; this has been corrected.
  • Loading branch information
edm00se committed Oct 31, 2016
commit 5e4fbc186be13a5405281068c5539d75ad63c970
31 changes: 17 additions & 14 deletions angularjs.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ AngularJS extends HTML attributes with Directives, and binds data to HTML with E
##What You Should Already Know

Before you study AngularJS, you should have a basic understanding of:
* HTML
* CSS
* JavaScript

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line break is needed; I've run into trouble forgetting it before.

- HTML
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vendethiel the missing dash prefix is now in place. :-|

- CSS
- JavaScript

```html
// AngularJS is a JavaScript framework. It is a library written in JavaScript.
Expand Down Expand Up @@ -279,11 +280,11 @@ angular.module('myApp', []).controller('namesCtrl', function($scope) {
// Filters can be added to expressions and directives using a pipe character.
// AngularJS filters can be used to transform data:

**currency: Format a number to a currency format.
**filter: Select a subset of items from an array.
**lowercase: Format a string to lower case.
**orderBy: Orders an array by an expression.
**uppercase: Format a string to upper case.
- **currency**: Format a number to a currency format.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bolding text requires completion. I converted this to a list, as it looked to be one.

- **filter**: Select a subset of items from an array.
- **lowercase**: Format a string to lower case.
- **orderBy**: Orders an array by an expression.
- **uppercase**: Format a string to upper case.

//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)
Expand Down Expand Up @@ -696,13 +697,15 @@ app.controller('myCtrl', function($scope) {

## Source & References

**Examples
* http://www.w3schools.com/angular/angular_examples.asp
**Examples**

- http://www.w3schools.com/angular/angular_examples.asp

**References**

**References
* http://www.w3schools.com/angular/angular_ref_directives.asp
* http://www.w3schools.com/angular/default.asp
* https://teamtreehouse.com/library/angular-basics/
- http://www.w3schools.com/angular/angular_ref_directives.asp
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More list conversion.

- http://www.w3schools.com/angular/default.asp
- https://teamtreehouse.com/library/angular-basics/

Feedback is welcome! You can find me in:
[@WalterC_87](https://twitter.com/WalterC_87), or
Expand Down