Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MatelliNight - AngularJs
Search
Mickael Metesreau
October 01, 2013
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MatelliNight - AngularJs
Mickael Metesreau
October 01, 2013
More Decks by Mickael Metesreau
See All by Mickael Metesreau
Fear the Ponies
mmetesreau
0
170
Alt.Net Talks - Make type system great again
mmetesreau
0
93
Alt.Net Talks - The Actor Model
mmetesreau
0
58
Lunch & Learn - Property Based Testing
mmetesreau
0
70
Betclic Dojo - Where is Fluffy?
mmetesreau
0
79
Mini training - EventStore
mmetesreau
0
77
Alt.Net Talks - EdgeJs
mmetesreau
0
310
Betclic Dojo - Extreme Carpaccio
mmetesreau
0
130
Betclic Dojo - Game of life
mmetesreau
0
48
Other Decks in Programming
See All in Programming
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Jetpack Compose Mechanisms
skydoves
3
820
JIS keyboard support in Omarchy
lef237
0
120
残高管理から台帳サービスへの進化
artoy
1
200
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
ChromeでローカルLLM
ryu1013
0
140
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
A Tale of Four Properties
chriscoyier
163
24k
New Earth Scene 8
popppiees
4
2.7k
BBQ
matthewcrist
90
10k
Optimizing for Happiness
mojombo
378
71k
HDC tutorial
michielstock
2
960
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
First, design no harm
axbom
PRO
2
1.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Transcript
AngularJs Superheroic JavaScript MVW Framework
SPA Késako ? Single Page Application : Application web dont
l’ensemble des éléments nécessaires (contenu, présentation : Html, CSS et partie applicative : JavaScript) se trouvent dans un unique fichier. Wikipédia
Dans Quel Etat J’Erre ? (étagère !!!!!!!!!!)
One Ring To Rule Them All… Où SammyJs Mustache JQuery
Knockout Backbone …
It’s Alive, it’s Moving ! <html ng-app> <body> <p>Hello World
!</p> <script src="angular.min.js"></script> <script> … </script> </body> </html>
Le Model, la View et le Controller <html ng-app='myApp'> <body
ng-controller='FirstController'> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { … }); </script> </body> </html>
Et Tu Bind Bind Bind Cette Donnée Qui Te Plait
! <html ng-app='myApp'> <body ng-controller='FirstController'> <p><input type='text' ng-model='someText'/></p> <p>{{someText}}</p> <p ng-bind='someText'></p> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.someText = 'Hello World !'; }); </script> </body> </html>
Et Tu Cliques Cliques Cliques C’est Ta Façon D’Commander !
<html ng-app='myApp'> <body ng-controller='FirstController'> <button ng-click='someCommand()'>Click me!</button> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.someCommand = function() { … } }); </script> </body> </html>
Maurice Tu Dépasse Les Bornes Des Limites ! <html ng-app='myApp'>
<body ng-controller='FirstController'> <p>{{someTextLvl1}}</p> <div ng-controller='SecondController'> <p>{{someTextLvl1}}</p> <p>{{someTextLvl2}}</p> </div> </body> </html> $scope $scope $scope
Can You Repeat The Question? <html ng-app='myApp'> <body ng-controller='FirstController'> <div
ng-repeat='item in tab'> <p>{{$index}}</p> <p>{{item.title}}</p> <p>{{item.desc}}</p> </div> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.tab = [ {title: 'title1', desc:'desc1'}, …] }); </script> </body> </html>
I Like Your Style! <html ng-app='myApp'> <body ng-controller='FirstController'> <div ng-class='{MyStyle:
applyStyle}'> <p>Do you like it?</p> </div> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.applyStyle = true; }); </script> </body> </html>
Le Changement C’est Maintenant <html ng-app='myApp'> <body ng-controller='FirstController'> <input type='text'
ng-model='search' /> <div ng-repeat='item in tab | filter: search | orderBy:title:true'> <p>{{$index}}</p> <p>{{item.title}}</p> <p>{{item.desc}}</p> </div> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.tab = [ {title: 'title1', desc:'desc1'}, …] }); </script> </body> </html>
Accepte Moi ! <html ng-app='myApp'> <body ng-controller='FirstController'> <form name='myForm' novalidate>
<input name='i1' ng-model='item.someText' type='text' required /> <p ng-show='myForm.i1.$error.required & myForm.i1.$dirty' >Missing!!</p> <button ng-disabled='$myForm.$invalid' ng-click='post(item)'>Post</button> </div> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.controller('FirstController', function($scope) { $scope.post = function(item) { … }; }); </script> </body> </html>
Vers L‘Infini Et Au Delà !! <html ng-app='myApp'> <body> <a
href='#/home'>Home</a> | <a href='#/about'>About</a> <div ng-view> </div> <script src="angular.min.js"></script> <script> var myAppModule = angular.module('myApp', []); myAppModule.config(function($routeProvider) { $routeProvider .when('/home', {controller:'homeCtrl', templateUrl:'partials/home.html'}) .when('/about', {controller:'AboutCtrl', templateUrl:'partials/about.html'}) .otherwise({redirect:'/home'}); }); </script> </body> </html>
You Talking To Me? <script src="angular.min.js"></script> <script> var myAppModule =
angular.module('myApp', []); myAppModule.controller('FirstController', function($scope, $http) { $http.get('/api/items') .success(function(data, status, headers, config){ }) .error(function(data, status, headers, config){ }); $scope.add = function(data) { $http.post('/someUrl', data) .success(function(data, status, headers, config){ }) .error(function(data, status, headers, config){ }); } }); </script>
Et Bien Plus…. Internationalisation, Injection de dépendances, Tests, Promises, Custom
Composant… et full JAVASCRIPT !!!