I want declare directive in DOM and set scope properties like a Local scope property and can't do it...
If I have property type int, its fine but if dateType is string or datetime I have troubles...
This is my html declare:
<div ng-controller="MyCtrl">
    <time-reminding relative-days-to-finish="10" reminder-name="Robo"></time-reminding>
</div>
and here is directive:
myApp.directive('timeReminding', function() {
    return {
        template: "<div>foo - {{relativeDaysToFinish}}<br />{{reminderName}}</div>",
        scope: {
            relativeDaysToFinish: '=',
            reminderName: '='
        },
        replace: true,
        restrict: "E",
        constroller: function($scope){
        }
    }
});
What am I doing wrong?
Here is jsFiddle
Thanks!
 
     
    