Markdown Previewer in Angular 1.7

Markdown Previewer in Angular 1.7
0

#1

I am new in Angular


it tell me the <p>testing</p>\n not pass

var myApp = angular.module("myapp", [  'ngSanitize']);
         
myApp.controller("content", function($scope) {
            $scope.content_text = marked(firstload);
            $scope.clear = function() {
                $scope.content_text = "";
            };
            $scope.change = function() {
                $scope.content_text =marked($scope.content_text);
            };
         });