Just simple change your html as below
<my-directive mandate-person="mandat.person" updateparent="updatePerson(person)" >
</my-directive>
you are not passing “person” with updatePerson thats why it is not working
More Related Contents:
- Is this a “Deferred Antipattern”?
- How to set focus on input field?
- AngularJS 1.5+ Components do not support Watchers, what is the work around?
- How to call a method defined in an AngularJS directive?
- How to use a keypress event in AngularJS?
- Link vs compile vs controller
- Angular.js directive dynamic templateURL
- Angularjs dynamic ng-pattern validation
- What is the difference between ng-app and data-ng-app?
- Easiest way to pass an AngularJS scope variable from directive to controller?
- Using angularjs filter in input element
- Angularjs loading screen on ajax request
- if a ngSrc path resolves to a 404, is there a way to fallback to a default?
- Directive isolate scope with ng-repeat scope in AngularJS
- Enable angular-ui tooltip on custom events
- Accessing attributes from an AngularJS directive
- angular directive encapsulating a delay for ng-change
- angularjs share data config between controllers
- Call a method of a controller from another controller using ‘scope’ in AngularJS
- AngularJS leaves comments in HTML: is it possible to remove them?
- When to use the AngularJS `$onInit` Life-Cycle Hook
- Can you change templateUrl on the fly?
- AngularJS: ngInclude vs directive
- Pass form to directive
- What is `priority` of ng-repeat directive can you change it?
- Understanding the transclude option of directive definition?
- angularjs text area character counter
- ng-click doesn’t work within the template of a directive
- creating a new directive with angularjs
- AngularJS – Directives vs Controllers