Angular - new scope function