You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kyle J. Roux edited this page Oct 31, 2016
·
1 revision
to use node-ng just require it (which gives a function) then wrap that around a function that has your code
var run_angular_func = require('node-ng');
var my_app_func = function(){
// your app code here
// ie:
var app = angular.module('app',[]);
}
// this runs your app
run_angular_func(my_app_func);