minor anularjs additions