There are several errors in your code
1) your variable name is wrong at directive defination it was customdirectveapp but it should be customdirectiveapp
2) your directive definations are wrong you should define controller,directive... like this
customdirectiveapp.controller('customdirectivecontroller', function ($scope, $http) {
....
});
instead of this
customdirectiveapp.controller = ('customdirectivecontroller', function ($scope, $http) {
....
});
and here is working PLUNKER of your application