Initialization using angularjs, bootstrap and plugins