Corrections angularjs directive