AngularJS
Follow
Find tag "directives"
17.1K views | +4 today
AngularJS
Join The AngularJS Talent Network. Sign Up Here:
> https://www.AngularJobs.com
Curated by Brian Petro
Your new post is loading...
Your new post is loading...
Scooped by Brian Petro
Scoop.it!

Testing AngularJS Directives: Handling External Templates | Portland Webworks

Testing AngularJS Directives: Handling External Templates | Portland Webworks | AngularJS | Scoop.it
RT @portlandwebwork: New blog post on testing AngularJS Directives http://t.co/zFHViVuoNW
Brian Petro's insight:

Testing is a hot issue for AngularJS.

more...
No comment yet.
Scooped by Brian Petro
Scoop.it!

AngularJS directives and the computer science of JavaScript | Adobe Developer Connection

AngularJS directives and the computer science of JavaScript | Adobe Developer Connection | AngularJS | Scoop.it
Take a look at Angular Directives, the problem they solve, and how you can create your own re-usable components. (The first comprehensible intro to AngularJS directives that I've found.
more...
No comment yet.
Rescooped by Brian Petro from JavaScript for Line of Business Applications
Scoop.it!

Building a Typeahead Directive with AngularJS

Building a Typeahead Directive with AngularJS | AngularJS | Scoop.it

I am building a little project that lets the user keep a list of artists and albums and I needed a typeahead / autocomplete that would match on such things.

My first thought was to wrap the Twitter Bootstrap typeahead in Angular. The problem is I wanted full control over the html in the typeahead. For instance I wanted little sidebars that said ‘artists’ and ‘albums’. I had no idea how to do this with the Bootstrap typeahead. Another problem is from a purely aesthetic point of view I don’t like wrapping things in Angular if the problem itself is easily solved using Angular.


Via Jan Hesse
more...
No comment yet.
Scooped by Brian Petro
Scoop.it!

Testing Directives

Learn to write tests for AngularJS directives. Vojta Jina describes techniques for unit testing directives and making tests run fast with the Testacular test...
Brian Petro's insight:

YouTube video on testing AngularJS directives.

more...
No comment yet.
Scooped by Brian Petro
Scoop.it!

AngularJS Tutorial — Build an App Using Directives and Data Binding - SitePoint

AngularJS is quickly gaining a reputation as one of the most forward-thinking JavaScript frameworks around, with good reason.
more...
No comment yet.
Rescooped by Brian Petro from JavaScript for Line of Business Applications
Scoop.it!

Extending HTML with AngularJS Directives

Extending HTML with AngularJS Directives | AngularJS | Scoop.it

Use AngularJS directives to teach HTML new tricks.

AngularJS is Google's framework for developing Web applications. Angular provides a number of essential services that work very well together and were designed to be extensible. These services include data-binding, DOM manipulation, routing/view management, module loading, and more.

To me, the most exciting feature of AngularJS is the ability to write custom directives. Custom directives allow you to extend HTML with new tags and attributes. Directives can be reused within and across projects, and are roughly equivalent to custom controls in platforms like .NET.


Via Jan Hesse
more...
No comment yet.