angular dependency and basic controller