I'm trying to build a directive that takes care of adding more directives to the element it is declared on. For example, I want to build a directive that takes care of adding datepicker, datepicker-language and ng-required="true".  If I...
(There are a ton of questions every day that link back to why can't I set the value of my observable, instead of having so many different answers saying the same thing I wanted to create a question to refer back to for everyone)  Setting value...
Is there a way to set the $httpProvider headers outside of angular.module('myApp', []).config()?  I'm getting an Auth-Token from the server after I login the user, and I need to add it as a HTTP Header to all following requests....
I am using Knockout.js as a MVVM library to bind my data to some pages. I'm currently building a library to make REST calls to a web service. My RESTful web service returns a simple structure:  {     id : 1,     details: {         name: "John...
I'm trying to get my head around Knockout.js and I'm quite stuck when it comes to checkboxes.  Server side I'm populating a set of checkboxes with their corresponding values. Now, when any of the unchecked checkboxes are checked, I need t...
I'm using Vuejs. This is my markup:  <body>   <div id="main">     <div id="mainActivity" v-component="{{currentActivity}}" class="activity"></div>   </div> </body>   This is my c...
I am creating a guest list app using Knockout.js, and so far things are going swimmingly. However I have a best-practices question. My app has several different types of objects: guests and tags among them. Guests can have multiple tags, and tags can...
I need to get data bind keys and value observable using element.  <select id="selector" data-bind="options:selectOptions,value:selectedValue"></select>  var ViewModel = {    selectOptions:ko.observableArray([...]),    sele...
I've been having a little trouble figuring out the best approach for this problem... should I use a form with a loaded record (gives me easy access to validation on each field), or should I let binding do all of the work (can leverage the ViewMod...
There are two tables using the same source. These tables are using source binding of kendo templates.  At present the source for both these tables are employees. Both these tables are displaying the same data.  Now, we need to modify it to show only...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.