Changed invalid expression building in templates that breaks on angular 1.3