Updated layout

This commit is contained in:
Luke Vella 2015-01-12 17:37:45 +01:00
parent 0eeb4866f4
commit 6b1e9893e9
13 changed files with 46 additions and 59 deletions

View file

@ -1,6 +1,8 @@
angular.module('rallly')
.controller('NewEventCtrl', function($scope, $http, $state){
$(".nav-link[href='/']").addClass('active');
$scope.event = {};
$scope.isNewEvent = true;
$scope.submit = function(){
$http.post('/api/event', $scope.event)
.success(function(event, status, headers, config){