added init for mobile angular