calling init angular from another place