Fixed Bug 1047217

Added angular data bindings to fix the issue.