Initial Cast with angularJs