Skip to content

Initial Setup #109

@bighaj

Description

@bighaj

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();
    };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions