hmmm...hello
your ngOptions are not defined when you load directive....
var data = [
{ Name: "Moroni", Age: 50, Position: 'PR Menager', Status: 'active', Date:
'12.12.2014' },
{ Name: "Teancum", Age: 43, Position: 'CEO/CFO', Status: 'deactive', Date:
'10.10.2014' },
{ Name: "Jacob", Age: 27, Position: 'UI Designer', Status: 'active', Date:
'09.11.2013' },
{ Name: "Nephi", Age: 29, Position: 'Java programmer', Status: 'deactive',
Date: '22.10.2014' }
];
$scope.ngOptions = { data: 'ngData' };
$scope.loadGrid = funtion(){
$scope.ngData = data;
};
Not sure if this is the problem but you can try...
Have a nice day:D
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.