Hi,

It is a complex example. where load a file? I try to put all the code. This is 
based from an online example  
https://github.com/Cacodaimon/AngularJSFeedReader



*on index.html i add:*

<script src="scripts/service/LivelliManager.js"></script>

*on app.js i  add:*
.when('/level/run',       {templateUrl: 'views/manage/listLevel.html', 
controller: 'LivelliCtrl'})            

*on directory controller i add:*

angular.module('caco.MiniRSS')
    .controller('LivelliCtrl',
                ['LABELS','$scope', '$routeParams','$location',             
    
        function (LABELS,$scope, $routeParams,$location) {
        
        $scope.LABELS = LABELS;


        $scope.test = function ()
        {
            $scope.cliccato = "OK TI HO PRESO";
            
            $location.path("level/run");
                        
        }
        
    }]);

*on directory view i add:*

<ul class="nav nav-tabs">
    <li><a href="#/level/addlevel">{{LABELS.TITLE_ADD_LIVELLO}}</a></li>
    <li class="active"><a href="#/level">{{LABELS.TITLE_LIVELLI}}</a></li>
    <li class="active"><a ng-click="test()">PROVA</a></li>
</ul>

<p ng-click="test()"> xCLICCAMIx </p>
<p>{{cliccato}}</p>

<table class="table table-striped table-condensed">
    <tbody>
    <tr ng-repeat="feed in feeds">
        <td>
            <img ng-src="http://g.etfv.co/{{feed.url}}"; width="16" 
height="16"/>
            <a href="{{feed.url}}" target="_blank" 
ng-bind-html="feed.title"/>
        </td>
        <td>
            <div class="btn-group pull-right">
                <a href="#/manage" class="btn btn-danger" 
ng-click="delete(feed.id)" title="delete">
                    <i class="icon-trash icon-white"></i>
                </a>
            </div>
        </td>


Thanks...
    </tr>
    </tbody>
</table>

Il giorno giovedì 18 febbraio 2016 12:00:41 UTC+1, Luís Loureiro ha scritto:
>
> Hi Bruce!
> Are you still experiencing problems with this?
>
> If so, could you provide us a plunkr with a sample of your code? This way 
> we can help you better!
>
> Regards,
> *Luís Loureiro*
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to