steal.static.controllers  function     

Loads controllers from the current file's controllers directory.
steal.controllers adds the suffix controller.js to each name passed in.

Example:
If you want to load controllers/recipe
controller.js and controllers/ingredient_controller.js, write:

 steal.controllers('recipe',
                   'ingredient')
steal.controllers(controller) -> steal
{String+}

the name of of the {NAME}_controller.js file to load. You can pass multiple controller names.

{steal}

the steal function for chaining.

© Jupiter IT - JavaScriptMVC Training and Support