Updated angular IDirective for 1.2.0