Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Setup #109

Open
bighaj opened this issue Apr 13, 2016 · 0 comments
Open

Initial Setup #109

bighaj opened this issue Apr 13, 2016 · 0 comments

Comments

@bighaj
Copy link

bighaj commented Apr 13, 2016

I'm having trouble getting module to work. I have a MEAN project built with the MEAN.JS framework for reference, and I'm on Angular 1.5. Here's what I did:

  1. Installed with bower

  2. Included angular-deckgrid.js in the all.js file

  3. Inject angular-deckgrid.js into the controller:
    function() {
    'use strict';
    angular.module('app.core').controller('coreArticleController', coreArticleController);
    coreArticleController.$inject = ['$scope', 'Articles', 'Article_Categories', 'Article_Tags', 'Reviewers','akoenig.deckgrid'];
    function coreArticleController($scope, Articles, Article_Categories, Article_Tags, Reviewers,akoenig.deckgrid) {....

  4. In the html page, I have this:

    {{article.title}}

    ....

  5. I have the css created

When I run the page, it doesn't resolve {{article.title}} and it's not repeating based on the collection. Here's the find() function from the controller:

$scope.find = function() {
$scope.articles = Articles.query();

        $scope.availableTags = Article_Tags.query();
        $scope.availableCategories = Article_Categories.query();
        $scope.reviewers = Reviewers.query();
    };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant