DBZ DBZ - 1 year ago 62
Javascript Question

Smart Table Module of Angularjs - issue related to handling it's directive

Probably there is some mistake from my end in handling the syntax and presentation in Angular.

This code is not working


Same code is working in this way


Please check the

file there in the file where things are working properly the directive and app is all linked to each other an then where it isn't working I tried separating it which I must do in order to accommodate it in a separate view.


you have forgot var app ont top of script.js

var app = angular.module('myApp', ['smart-table']);