Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Angular question
Message
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01601977
Message ID:
01602058
Vues:
40
>>It's pulling the description from your table.columns collection (which is probably set in your Angular controller (so from a JS file), something like $scope.table where table contains an array named "columns"). So you'd need to set it there. Look for the ng-controller (or data-ng-controller) directive on the page. It will tell you which controller to look in.
>
>Hi Paul,
>
>I would need some generic solution here, but I already have question with your approach. In the index.cshtml view for the page I see the following code
>
>
><div ng-controller="templatesController">
>    <div sm-search-slider="$parent.showSearch" class="pull-left col-md-5 sm-search-list" ng-controller="templatesSearchController">
>
>
>
>And the templatesSearchController has the following code
>
>
>app.controller('templatesSearchController',
>        ['$scope', '$rootScope', '$timeout', '$state', 'templatesService', 'searchScreenService',
>        function ($scope, $rootScope, $timeout, $state, templatesService, searchScreenService) {
>
>I think I need to first check searchScreenService service code and then it may be clearer if I can just change the names in that code to what I want or not.
>
>Do you think I am on the right track?
>

Yes. I'd assume you'd have a JS file for searchScreenService (it's a dependency being injected into your controller).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform