I was reading a tutorial at https://github.com/angular-ui/ui-router and something caught my attention:
var myApp = angular.module('myApp', ['ui.router']);
// For Component users, it should look like this:
// var myApp = angular.module('myApp', [require('angular-ui-router')]);
What is component users? Why it is written in [require('angular-ui-router')]
? It looks like I can dynamically load the plugin this way?