Replaced angular ctrl module with directly getting app