

Text


@team4talent
http://www.team4talent.be




5+ Year web development
Team4Talent
.Net Consultant
Microsoft Certified Solutions Developer

@jorisbrauns
http://blog.jorisbrauns.be


6+ Year web development
Team4Talent
.Net Consultant
Competence Manager

@sommertim
http://blog.timsommer.be










A Directive is a marker on a HTML tag that tells Angular to run or reference some Javascript code

http://www.cheatography.com/proloser/cheat-sheets/angularjs/
Core
Display
Event





//css classes
.ng-valid {}
.ng-invalid {}
.ng-pristine {}
.ng-dirty {}
.ng-touched {}
.ng-untouched {}Note that 'novalidate' is used to disable browser's native form validation.
ngModel.NgModelController
$error
$pending
$untouched
$touched
$pristine
$dirty
$valid
$invalid












describe('PhoneCat controllers', function() {
describe('PhoneListCtrl', function(){
var scope, ctrl;
beforeEach(module('phonecatApp'));
beforeEach(inject(function($controller) {
scope = {};
ctrl = $controller('PhoneListCtrl', {$scope:scope});
}));
it('should create "phones" model with 3 phones', function() {
expect(scope.phones.length).toBe(3);
});
it('should set the default value of orderProp model', function() {
expect(scope.orderProp).toBe('age');
});
});
});





https://angularjs.org
https://builtwith.angularjs.org
http://www.youtube.com/user/angularjs
http://andyshora.com/promises-angularjs-explained-as-cartoon.html



@jorisbrauns https://www.linkedin.com/in/brauns http://blog.jorisbrauns.be



@sommertim https://www.linkedin.com/in/timsommer http://blog.timsommer.be


https://github.com/timsommer/CvoAntwerpenZuidAngularDemo
https://slides.com/jorisbrauns/angularjs