protected AAngularController(AAngularView view, List<string> services = null) { this.view = view; this.services = new List<string>() { "$scope" }; if (services != null) this.services.AddRange(services); controllerLines = new List<string>(); controllerName = String.Format("{0}{1}Ctrl", view.GenerationObjName, view.ViewName); controllerFileName = String.Format("{0}.js", controllerName); scopeObjString = Functions.StripScopeObjString(view.ScopeObjectString); Generate(); }
public HttpGetController(AAngularView view, List<string> services = null) : base(view, services) { HttpVerb = "get"; }
public AngularController(AAngularView view, List<string> services = null) : base(view, services) { }
public ControllerFactory(AAngularView angularView) { this.angularView = angularView; }