FAQ Database Discussion Community


how to properly configure AngularJS app to have the results show up in plunker

angularjs,plunker
I'm having a strange issue in my new Angular app: All of my components seem to be in a proper place (in plunker), but absolutely nothing shows up in the result window. Wandering what I am missing here. Here is the app.js code: 'use strict'; var app = angular.module('myApp', [...

Issue with opening modal in plunker

angularjs,bootstrap-modal,plunker
I'm trying to recreate an issue with angular modal but I can't get plunker to work for basic modal. This gives error of index 0, but can't figure out where I should be passing these items from. In the code that I'm using, I don't get this issue. But when...

Angular docs Expressions - plunker example not working with current workable version

angularjs,plunker
https://docs.angularjs.org/guide/expression The simplest example using data bindings = <span> 1+2={{1+2}} </span> works with <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-rc.2/angular.min.js"></script> and the output is 1 + 2 = 3 but if I change to the current workable angular script <script data-require="[email protected]*" data-semver="2.0.0-alpha.25" src="https://code.angularjs.org/2.0.0-alpha.25/angular.js"></script> the output is 1+2={{1+2}} So why does the current angular not allow...

Why isn't my Angular JS expression evaluation

javascript,angularjs,plunker
I have what I think is a pretty basic Angular JS question. Can someone please explain to me why the expression. {{hi}} Is not evaluating and I am getting the following error: Uncaught TypeError: angular.module is not a function Here's the plunker and the code is below. Html: <!DOCTYPE html>...

Can you view 'my plunks' by tag name?

plunker
I have been using plunker and like a lot of the features. I thought/assumed it had a feature to view/search/store 'my plunks' (only your code) by category or tagname. After working on an off with it - you can save and view 'my plunks' as a whole - but it...

JQuery on(“change”…) method not working in Plunker

jquery,javascript-events,onchange,plunker,plunkr
I created this Plunk to demonstrate and discuss a shopping cart I'm developing that is in action here (while it lasts). In the "real" one, selecting a species fills the Variety drop-down. However, it's not working in the Plunk. In fact, $('#species-select').on('change', ... is never firing. Must be some peculiarity...

angularjs scope variable not updated outside directive

javascript,html,angularjs,angularjs-directive,plunker
I'm learning directives and I have a scenario set up where I update a $scope value inside of my directive's controller. This works fine within the directive, however the $scope variable outside of the directive is not getting updated. I have created a plunk to illustrate this behavior. In the...

Why my directives don't work in Plunker?

angularjs,angularjs-directive,plunker
I was going to use Plunker to assist me in testing a directive, but first I just wanted to create one to test plunker was working, so I put in some sample code. Guess what, basic directives are not working and I have no idea why. My directives: app.directive('attributeDirective', function()...

AngularJS easy example doesn't work in Plunker

javascript,angularjs,plunker
I don't understand why this simple example doesn't work in Plunker. http://plnkr.co/edit/EfNxzzQhAb8xAcFZGKm3?p=preview var app = angular.module("App",[]); var Controller = function($scope){ $scope.message ="Hello"; }; app.contoller("Controller",['$scope',Controller]); var app = angular.module("App",[]); var Controller = function($scope){ $scope.message ="Hello"; }; app.contoller("Controller",['$scope',Controller]); ...