i have problem with loading angular. This is my code:
var myApp = angular.module("myApp", ["ngSanitize"]);
myApp.controller("MyAppController",
function myAppController($scope, $http, $log, $rootScope, listsModel) {
$scope.$log = $log;
});
<div ng-app="myApp ">
<div ng-controller="MyAppController">
<script>console.log("A")</script>
{{$log.debug("B")}}
</div>
</div>
This code write to console this: A, B, B I think that angular loading multiple. Why? What can I do? Thanks