Sha256: 4653f5973e406ae04d9f58fb06215f77cff8baba2197712d03dd9997fefe8f5a

Contents?: true

Size: 722 Bytes

Versions: 20

Compression:

Stored size: 722 Bytes

Contents

;(function() {
    "use strict";

    // Provide interaction with a profile question.
    function ProfileQuestionCtrl(profileQuestionId, ProfileQuestion) {
        var self = this;

        ProfileQuestion.getOne(profileQuestionId)
            .then(function(profileQuestion) {
                self.id = profileQuestion.id;
            })
            .catch(function(error) {
                window.console.log(error);
            });
        this.responses = [{ question: 'foo?', text: 'bar' }];
    }

    // Create a module and register the controllers.
    angular.module('socialNetworking.controllers')
        .controller('ProfileQuestionCtrl', ['profileQuestionId', 'ProfileQuestion', ProfileQuestionCtrl]);
})();

Version data entries

20 entries across 16 versions & 1 rubygems

Version Path
social_networking-0.13.3 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.13.2 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.13.1 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.13.0 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.12.0 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.8 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.7 spec/dummy/tmp/jasmine/assets/social_networking/controllers/profile-question-controller.js
social_networking-0.11.7 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.6 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.6 spec/dummy/tmp/jasmine/assets/social_networking/controllers/profile-question-controller.js
social_networking-0.11.5 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.4 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.3 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.2 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.2 spec/dummy/tmp/jasmine/assets/social_networking/controllers/profile-question-controller.js
social_networking-0.11.1 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.11.1 spec/dummy/tmp/jasmine/assets/social_networking/controllers/profile-question-controller.js
social_networking-0.11.0 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.10.0 app/assets/javascripts/social_networking/controllers/profile-question-controller.js
social_networking-0.9.3 app/assets/javascripts/social_networking/controllers/profile-question-controller.js