fixed invalid ng-if
Merge branch 'master' into gh-pages