Showing basic example of nested Scope communication and events in Angularjs