Fix https://github.com/angelozerr/tern.java/issues/159 for angular