Namespace: angular¶
Function: clbBootstrap¶
Bootstrap AngularJS application with the HBP environment loaded.
It is very important to load the HBP environement before starting the application. This method let you do that synchronously or asynchronously. Whichever method you choose, the values in your environment should look very similar to the one in https://collab.humanbrainproject.eu/config.json, customized with your own values.
At least auth.clientId should be edited in the config.json file.
-
clbBootstrap(module, options, options.env)¶ Arguments: - module (string) – the name of the Angular application module to load.
- options (object) – pass those options to deferredBootstrap
- options.env (object) – HBP environment JSON (https://collab.humanbrainproject.eu/config.json)
Return Promise: return once the environment has been bootstrapped
Member: clbBootstrap: