Skip to content

Commit

Permalink
fix-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Henni committed Oct 27, 2015
1 parent 14804ae commit af3cd0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @copyright Hendrik Leppelsack 2015
*/

(function (angular, $, vCard) {
(function (OC, angular, $, vCard) {

var app = angular.module('contactsApp', ['ui.router']);

Expand Down Expand Up @@ -72,7 +72,7 @@
controller: 'addressbooklistCtrl',
controllerAs: 'ctrl',
bindToController: {},
templateUrl: '/apps/contactsrework/templates/addressBookList.html'
templateUrl: OC.linkTo('contactsrework', 'templates/addressBookList.html')
}
});

Expand All @@ -85,7 +85,7 @@
bindToController: {
addressBook: "=data"
},
templateUrl: '/apps/contactsrework/templates/addressBook.html'
templateUrl: OC.linkTo('contactsrework', 'templates/addressBook.html')

}
});
Expand Down Expand Up @@ -113,7 +113,7 @@
bindToController: {
addressbook: '='
},
templateUrl: '/apps/contactsrework/templates/contactlist.html'
templateUrl: OC.linkTo('contactsrework', 'templates/contactList.html')
};
});

Expand All @@ -129,7 +129,7 @@
bindToController: {
data: '='
},
templateUrl: '/apps/contactsrework/templates/contact.html'
templateUrl: OC.linkTo('contactsrework', 'templates/contact.html')
}
});

Expand Down Expand Up @@ -162,4 +162,4 @@
}
});

})(angular, jQuery, vCard);
})(OC, angular, jQuery, vCard);
File renamed without changes.

0 comments on commit af3cd0a

Please sign in to comment.