$controllerProvider.register()

register(name, constructor);

Parameters

Param Type Details
name stringObject

Controller name, or an object map of controllers where the keys are the names and the values are the constructors.

constructor function()Array

Controller constructor fn (optionally decorated with DI annotations in the array notation).

doc_AngularJS
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.