Fixed issues that are occurred due to removing dependencies from angularjs.