AngularJS views template compilation bug fixed