Update structure + Add projects page

This commit is contained in:
brunosimon
2016-06-05 23:18:50 +02:00
parent c8d111cf5c
commit b2c68a7b73
13 changed files with 289 additions and 166 deletions
@@ -1,23 +1 @@
var angular_module = angular.module( 'application', [] );
angular_module.controller(
'ApplicationController',
[
'$scope',
'project',
function( $scope, project )
{
var that = this;
project.on_update( function( data )
{
$scope.$apply( function()
{
that.project = data;
} );
} );
this.project = project.data;
}
]
);