This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| angular.module('app').controller('HelloCtrl',function($scope) { | |
| $scope.name = "Hello World"; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript" | |
| src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- CDN Google Hosted Libraries --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="js/controllers/HelloController.js"></script> | |
| <script> | |
| function HelloController ($scope) { | |
| // body... | |
| // can be taken in a separate file HelloController.js | |
| $scope.message = "Hello World"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html xmlns:og="http://ogp.me/ns#" prefix="og: http://ogp.me/ns#"> | |
| <head> | |
| <title>First ng-app | Template</title> | |
| <title>First ng-app - Template</title> | |
| <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="style.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $scope.messages = [ | |
| {message: "Hello Department", send: "21.11.2014"}, | |
| {message: "Hello Department", send: "24.11.2014"} | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html ng-app> | |
| <body ng-app="animateApp" ng-controller="mainController"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Guidebook | |
| - Guidebook.html | |
| - Guidebook.js | |
| model | |
| - NoteModel.js | |
| - ChapterModel.js | |
| view | |
| - chapters.html | |
| - addNote.html | |
| - style.css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE joke ( | |
| id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
| joketext TEXT, | |
| jokedate DATE NOT NULL | |
| ) DEFAULT CHARACTER SET utf8 ENGINE=InnoDB |