A question:

<p>{{text}}</p> 

This is a CTML that displays the value of the scop of the variable $scope.text ;

  var app = angular.module("MainApp", []); app.controller('MainController', ['$scope','$http','$interval', function ($scope,$http,$interval) { $scope.text = "Повествование, в отличие от описания, представляет собой изображение событий или явлений, совершающихся не одновременно, а следующих друг за другом или обусловливающих друг друга. Самый, по-видимому, краткий в мировой литературе пример текста повествования – знаменитый рассказ Цезаря: «Пришёл, увидел, победил». Он ярко и точно передаёт суть повествования – это рассказ о том, что произошло, случилось.".`trim()`; 

Via alert displays correctly. Through the output to the page - does not display. Angular, app and controller connected correctly. I deduce directly (not through the view).

  • According to the description given, the problem does not reproduce: plnkr.co/edit/nlEKSujM9MntTrn1C9E1?p=preview Apparently, however, not everything is connected correctly. - Yaant
  • Yes, I inserted my code on this resource - it worked. And what could be the problem? I launched a project on NodeRed, maybe you know) - Ivan Zagorskiy

0