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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
76
Alt.Net Talks - EdgeJs
mmetesreau
0
310
Betclic Dojo - Extreme Carpaccio
mmetesreau
0
130
Betclic Dojo - Game of life
mmetesreau
0
47
Other Decks in Programming
See All in Programming
Webの地図
yosuke_furukawa
PRO
6
4.1k
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
ALB ログから Trace を気合で繋げる技術
fohte
7
880
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
110
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
6.1k
Heart of Swift Concurrency
koher
0
230
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
130
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
140
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
360
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
500
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
190
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1.1k
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Statistics for Hackers
jakevdp
799
230k
How to make the Groovebox
asonas
2
2.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Prompt Engineering for Job Search
mfonobong
0
450
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
600
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
270
GitHub's CSS Performance
jonrohan
1033
470k
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 !!!