diff --git a/angular_app/index.html b/angular_app/index.html new file mode 100644 index 0000000..32f0231 --- /dev/null +++ b/angular_app/index.html @@ -0,0 +1,16 @@ + + + + + Event Man(ager) + + +
+

1 + 2 = {{ 1 + 2 }}

+ + +
+

Hello {{yourName}}!

+
+ + diff --git a/angular_app/js/controllers.js b/angular_app/js/controllers.js new file mode 100644 index 0000000..7575bc0 --- /dev/null +++ b/angular_app/js/controllers.js @@ -0,0 +1,15 @@ +'use strict'; + +/* Controllers */ + +var eventManApp = angular.module('eventManApp', []); + +eventManApp.controller('PersonsListCtrl', ['$scope', '$http', + function ($scope, $http) { + $http.get('/persons').success(function(data) { + $scope.persons = data.persons; + $scope.orderProp = 'name'; + }); + }] +); + diff --git a/angular_app/persons.html b/angular_app/persons.html new file mode 100644 index 0000000..7b38d49 --- /dev/null +++ b/angular_app/persons.html @@ -0,0 +1,38 @@ + + + + + + Event Man(ager) + + + +
+
+
+ + + Search: + Sort by: + + +
+
+ + +
    +
  • + {{person.name}} {{person.surname}} +

    {{person.snippet}}

    +
  • +
+ +
+
+
+ + +