Skip to content

Commit 32bb1d0

Browse files
author
bmatupas
committed
Slide version 1
1 parent 3884bdb commit 32bb1d0

38 files changed

+9800
-108
lines changed

.idea/workspace.xml

Lines changed: 292 additions & 108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
application: angularjs-demo
2+
version: 1
3+
runtime: python27
4+
api_version: 1
5+
threadsafe: true
6+
7+
handlers:
8+
- url: (.*)/
9+
static_files: src\1/index.html
10+
upload: app
11+
12+
- url: (.*)
13+
static_files: src\1
14+
upload: app

src/demos/angular.min.js

Lines changed: 242 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/demos/configs/app.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
var SampleApp = angular.module('SampleApp', []);
2+
3+
//SampleApp.config(function($routeProvider) {
4+
// $routeProvider
5+
// // Applications
6+
// .when('/', {
7+
// controller:'LandingPageController',
8+
// templateUrl:'views/pages/landing-page.html'
9+
// })
10+
// .when('/scheduler', {
11+
// controller:'SchedulerController',
12+
// templateUrl:'views/pages/scheduler.html'
13+
// }).when('/become-codefaci', {
14+
// controller:'BecomeCodefaciController',
15+
// templateUrl:'views/pages/become-codefaci.html'
16+
// })
17+
//
18+
// // Blogs
19+
// .when('/blogs',{
20+
// templateUrl:'views/blogs/categories.html'
21+
// })
22+
// .when('/blogs/:categoryId',{
23+
// templateUrl:'views/blogs/topic-chosen.html'
24+
// }).when('/blogs/:categoryId/:blogId',{
25+
// templateUrl:'views/blogs/content.html'
26+
// })
27+
//
28+
// // Admin
29+
// .when('/admin', {
30+
// templateUrl:'admin/views/admin.html'
31+
// })
32+
//
33+
// // Default
34+
// .otherwise({
35+
// redirectTo:'/'
36+
// });
37+
//});

src/demos/controllers/topic.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
SampleApp.controller('TopicController', function( $scope, $http ){
2+
3+
$http({
4+
url: "json/topics.json",
5+
method: "GET"
6+
}).success(function( topics ){
7+
$scope.topics = topics;
8+
console.log($scope.topics)
9+
});
10+
})

src/demos/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.container {
2+
margin-top: 40px;
3+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SampleApp.directive('topicThumbnail', function() {
2+
return {
3+
restrict: 'E',
4+
scope: {
5+
topic : "="
6+
},
7+
templateUrl: "views/topic-thumbnail.html",
8+
9+
link: function($scope, $element, $attribute) {
10+
11+
}
12+
}
13+
});

src/demos/images/android.png

17.6 KB
Loading

src/demos/images/angularjs.png

84.3 KB
Loading

src/demos/images/appengine.png

84.8 KB
Loading

0 commit comments

Comments
 (0)