On Github askarby / goto-ang-pres
Created by Anders Bruhn Skarby / @askarby
Slides and code will be made available on github!
To follow along you'll need to have some basic knowledge of:
This presentation will be a mix of the following three elements:
Head up: Don't be afraid to interrupt if you have a question.
<html>
<head>...</head>
<body>
<div id="container1">
<ul></ul>
<button id="btn1"><button/>
</div>
<div id="container2">
<input id="inp1"/>
<textarea id="edt1"><textarea/>
<button id="btn2"><button/>
</div>
...
</body>
</html>
I'm not showing the entire code
Here's the important parts
<html>
<head>
<script src="..." />
<script>...</script>
...
</head>
<body>
<script src="..." />
<script src="..." />
<script>...<(script>
<script>...</script>
...
</body>
</html>
Because:
<html>
<head>...</head>
<body ng-app="notepad" ng-controller="MainCtrl">
<notelist id="container1">
<ul>
<li ng-repeat="note in notes">{{note.title}}</li>
</ul>
<button id="btn1" ng-click="createNewNote()"><button/>
</notelist>
<editor id="container2">
<input id="inp1" ng-model="note.title"/>
<textarea id="edt1" ng-model="note.content"><textarea/>
<button id="btn2" ng-click="save()">Save note<button/>
</editor>
...
</body>
</html>
An AngularJS Twitter-clone, using Twitter's API for data
git tag -l -n1
git checkout v1.0
git checkout v1.1
git checkout v1.2
git checkout v1.3
git checkout v1.4
git checkout v1.5