Use $parse to bind custom data in callbacks