[AngularJS] $sce.trustAsHtml and load angular material code

2017-03-03 Thread Marián Rohaľ
Hi, why doesnt work this code: $scope.data = $sce.trustAsHtml(' '); ? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubs

[AngularJS] Angular $scope with relativ ng-model

2017-08-09 Thread Marián Rohaľ
Hi a have a problem. this is my code: -- $http.post('../inc/php/profil_znalosti_load.php') .success(function(data,status,header,config){ angular.forEach(data, function(value) { var jaja = value[0]; $scope.jaja =true; // HERE IS MY PROBLEM, I THINK c

[AngularJS] Re: Angular $scope with relativ ng-model

2017-08-09 Thread Marián Rohaľ
OK like ,,, $scope[jaja] = true; Dne středa 9. srpna 2017 12:34:07 UTC+2 Marián Rohaľ napsal(a): > > Hi a have a problem. > > this is my code: > > -- > > $http.post('../inc/php/profil_znalosti_load.php') > .success(function(data,status,header,config){ &

[AngularJS] TypeError: Cannot create property 'firma' on number '1'

2017-08-14 Thread Marián Rohaľ
Hi I have script where I'm load new line. (addLine). code is like: but i have error: TypeError: Cannot create property 'firma' on number '1' Where is problem? I'm lost Big thanks -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discus

[AngularJS] Re: TypeError: Cannot create property 'firma' on number '1'

2017-08-14 Thread Marián Rohaľ
im load to line [{"firma":"hi"},{"firma":"name"}] 1.firma is hi 2.firma is name But give a new line and if im writing to input. I have error. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group

[AngularJS] Angular and subpage

2017-12-24 Thread Marián Rohaľ
Hi. I Wolf like install angular material to subdomain. Like sub.web.com. but angular want install to root. How install it? Thanks -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiv

[AngularJS] $index in ng-repeat (angular 2)

2018-01-19 Thread Marián Rohaľ
Hi, I have php file with: {{specializacia.nazov}} and script: $scope.specializacie ={[index]:data}; This ng-repeat is inside different ng-repeat. I would like to for every new one ng-repeat ,they were loaded new items to the other ng-repeat. it is possible? Thanx Maria