Control.modal*.js Error Class Undefined
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might
$.fn.modal Is Not Defined; Please Double Check You Have Included The Bootstrap Javascript Library
have Meta Discuss the workings and policies of this site About $.fn.modal is not defined bootbox Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads
Modal Is Not A Function Bootstrap
with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million bootstrap modal uncaught typeerror undefined is not a function programmers, just like you, helping each other. Join them; it only takes a minute: Sign up AngularJS modal dialog form object is undefined in controller up vote 45 down vote favorite 9 We have a page that opens a modal dialog with a form like below. However when we hit the controller that should handle the modal is not a function jquery bootstrap form action, the form object is undefined and I am too much of an Angular newbie to understand why... This is the parent page controller holds the function to open the modal dialog: app.controller('organisationStructureController', ['$scope', ..., '$modal', function ($scope, ..., $modal) { $scope.openInvitationDialog = function (targetOrganisationId) { $modal.open({ templateUrl: 'send-invitation.html', controller: 'sendInvitationController', resolve: {$targetOrganisationId: function () { return targetOrganisationId; } } } ); }; on a page like this: // inside a loop over organisations Invite new member the invitation-dialog html looks like this: