Skip to content

Commit 978ee75

Browse files
pbatchupbatchu
authored andcommitted
first pass to the end
1 parent dd39e56 commit 978ee75

File tree

3 files changed

+118
-25
lines changed

3 files changed

+118
-25
lines changed

AngularJS/img/goodluck.png

194 KB
Loading

AngularJS/index.html

Lines changed: 117 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<!-- Any section element inside of this container is displayed as a slide -->
3838
<div class="slides">
39-
39+
<section>
4040
<section>
4141
<!--<h1>Angular.js</h1>-->
4242
<img src="img/angularjs.jpeg"/>
@@ -63,6 +63,32 @@ <h3>Superheroic JavaScript MVW Framework</h3>
6363

6464
</aside>
6565
</section>
66+
<section id="themes">
67+
<h2>Themes</h2>
68+
<p>
69+
Reveal.js comes with a few themes built in: <br>
70+
<a href="?theme=sky#/themes">Sky</a> -
71+
<a href="?theme=beige#/themes">Beige</a> -
72+
<a href="?theme=simple#/themes">Simple</a> -
73+
<a href="?theme=serif#/themes">Serif</a> -
74+
<a href="?theme=night#/themes">Night</a> -
75+
<a href="?#/themes">Default</a>
76+
</p>
77+
<p>
78+
<small>
79+
* Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <code>&lt;head&gt;</code> using a <code>&lt;link&gt;</code>.
80+
</small>
81+
</p>
82+
</section>
83+
84+
85+
86+
87+
88+
89+
90+
</section>
91+
6692

6793
<section>
6894

@@ -395,57 +421,124 @@ <h4>Type in your Name</h4>
395421
the JavaScript execution context.</li>
396422
<li>The browser re-renders the view with update text.</li></ol></li>
397423
</ol>
424+
Let's understand another angular concept called $scope. After that we'll build a nice little TODO app.
398425
</aside>
399426
</section>
427+
428+
<section>
429+
<img src="img/scope.png" />
400430

431+
432+
</section>
401433
<section>
402434
TODO App
403435
<iframe width="100%" height="300" src="http://jsfiddle.net/uhsarp/SyaFT/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
404436
</section>
405-
<section>
406-
<img src="img/scope.png" />
407-
408-
409-
</section>
437+
410438
<section>
411439
Directives
412440
<iframe width="100%" height="700" src="http://jsfiddle.net/uhsarp/qZjrW/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
413441
</section>
414-
442+
443+
<section>
444+
<h3><a href='http://docs.angularjs.org/guide/di' >Dependency Injection</a></h3>
445+
<h4 id="diincontrollers">DI in controllers</h4>
446+
447+
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
448+
var MyController = function($scope, dep1, dep2) {
449+
...
450+
$scope.aMethod = function() {
451+
...
452+
}
453+
}
454+
MyController.$inject = ['$scope', 'dep1', 'dep2'];
455+
456+
</code></pre>
457+
<h4 id="diincontrollers">Factory Methods</h4>
458+
459+
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
460+
angular.module('myModule', []).
461+
config(['depProvider', function(depProvider){
462+
...
463+
}]).
464+
factory('serviceId', ['depService', function(depService) {
465+
...
466+
}]).
467+
directive('directiveName', ['depService', function(depService) {
468+
...
469+
}]).
470+
filter('filterName', ['depService', function(depService) {
471+
...
472+
}]).
473+
run(['depService', function(depService) {
474+
...
475+
}]);
476+
477+
</code></pre>
478+
</section>
479+
480+
481+
<section>
482+
<h3>Angular JS Module Example DEMO</h3>
483+
<aside class="notes">
484+
Show Billrive-client demo
485+
</aside>
486+
</section>
487+
415488
<section>
416489
Wiring a Backend
417490
<iframe width="100%" height="800" src="http://jsfiddle.net/uhsarp/upv84/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
418491
</section>
419492
</section>
420-
421493
<section>
422-
<section>
423-
<h2>Best Practices</h2>
424-
</section>
425-
<section>
494+
<h3>Debugging</h3>
495+
<ul>
496+
<li><a href='https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk?hl=en' >Angular Batarang</a></li>
497+
<li><a href='https://chrome.google.com/webstore/detail/netbeans-connector/hafdlehgocfcodbgjnpecfajgkeejnaa?hl=en' >Netbeans Chrome Integration</a></li>
498+
499+
</ul>
500+
<aside class="notes">
501+
</aside>
502+
</section>
503+
<section>
504+
505+
<h4>Best Practices</h4>
506+
507+
426508
<img src='img/toolset.png'/>
427509
<ul>
428510
<li><p><a href="https://github.com/yeoman/yo">Yo</a> scaffolds out a new application, writing your Grunt configuration and pulling in relevant Grunt tasks that you might need for your build. </p></li>
429511
<li><p><a href="http://gruntjs.com">Grunt</a> is used to build, preview and test your project, thanks to help from tasks curated by the Yeoman team and grunt-contrib. </p></li>
430512
<li><p><a href="http://bower.io">Bower</a> is used for dependency management, so that you no longer have to manually download and manage your scripts.</p></li>
513+
431514
</ul>
432-
</section>
433-
<section>
434-
</section>
435515

436516
</section>
437517
<section>
438-
<section>
439-
<h2>Resources</h2>
440-
</section>
441-
<section>
518+
<h2>Resources</h2>
519+
442520
<ul>
443-
<li>angularjs.org</li>
444-
<li>builtwith.angularjs.org</li>
445-
<li>angular-ui.github.io</li>
446-
<li>mgcrea.github.io/angular-strap</li>
521+
<li><a href='http://angularjs.org/'>Angular JS Website</a></li>
522+
<ul>
523+
<li><a href='http://docs.angularjs.org/api/'>API Reference</a></li>
524+
<li><a href='http://docs.angularjs.org/guide/'>Developer Guide</a></li>
525+
<li><a href='http://docs.angularjs.org/guide/dev_guide.unit-testing'>Unit Testing</a></li>
526+
</ul>
527+
<li><a href='http://builtwith.angularjs.org'>Built With Angular</a></li>
528+
<li><a href='http://angular-ui.github.io'>Angular UI</a></li>
529+
<li><a href='http://mgcrea.github.io/angular-strap'>Angular Strap</a></li>
530+
<li><a href='http://www.youtube.com/user/angularjs'>Angular JS Channel on Youtube</a></li>
531+
<li><a href='http://www.youtube.com/watch?v=ZhfUv0spHCY'>Angular JS Best Practices</a></li>
532+
<li><a href='www.youtube.com/watch?v=iUQ1fvdO9GY'>Yeoman Tutorial</a></li>
533+
447534
</ul>
448-
</section>
535+
536+
</section>
537+
538+
<section>
539+
<h4>The End</h4>
540+
<h3>is the beginning for something new</h3>
541+
<img src='https://sphotos-a.xx.fbcdn.net/hphotos-prn1/p480x480/548955_571097589579284_915602317_n.jpg' />
449542
</section>
450543
<section>
451544
<section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config=SL__Browsers_ChromeBrowser
1+
config=SL__Browsers_FirefoxBrowser

0 commit comments

Comments
 (0)