This is my approach with angularJS, TinyMCE and Angular UI
Script Tags:
<!-- JQUERY -->
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<!-- JQUERY UI -->
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
<!-- ANGULAR JS -->
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular-resource.min.js"></script>
<!-- ANGULAR UI -->
<script src="lib/angular-ui/angular-ui.js"></script>
<!-- TINYMCE -->
<script type="text/javascript" src="lib/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript" src="lib/tiny_mce/tiny_mce_src.js"></script>
View:
<input type="text" ng-model="nota.fechaPub" ui-date ui-date-format required >
<textarea ui-tinymce="{theme:'simple'}" ng-model="nota.entradilla"></textarea>
...
<button ng-click="read()" class="btn btn-primary">Read</button>
Controller:
...
// Read the note function inside the controller
$scope.read= function () {
var nota = $scope.nota;
// In nota model I get two fields: entradilla (a text) and fechaPub ( a date)
}
...
uimodule is not specified as ademoAppdependency. Will try to investigate further, though...