A template just for sharing code, production apps should build js bundles.
This template can be used at [https://plnkr.co/edit/9Opsxj?p=info]
| var someFoo = { | |
| baz: "bar", | |
| doQux: function (a, b) { | |
| return a + b; | |
| } | |
| }; |
A template just for sharing code, production apps should build js bundles.
This template can be used at [https://plnkr.co/edit/9Opsxj?p=info]
A template just for sharing code, production apps should build js bundles.
This template can be used at [https://plnkr.co/edit/2q0jeg?p=info]
| <template> | |
| <h1>${message}</h1> | |
| </template> |
| describe('user details controller', | |
| function () { | |
| var $controller, sut, helpers, $realUibModal, $spyUibModal, modalInstance, UserService, $routeParams, userStub, $location; | |
| beforeEach(function () { | |
| module('ui.bootstrap'); | |
| module('testHelpers'); | |
| module('app'); | |
| module(function ($provide) { |
| @model eBowlingFramework.Models.Foo | |
| @{ | |
| ViewBag.Title = "Create"; | |
| } | |
| <h2>Create</h2> | |
| @using (Html.BeginForm()) |
| // http://plnkr.co/edit/HoG0XH | |
| (function () { | |
| 'use strict'; | |
| var app = angular.module('app', []); | |
| })(); |
| public class BaseClient | |
| { | |
| private Uri BaseUrl = new Uri("https://api.github.com/"); | |
| readonly string username = "*****"; | |
| readonly string password = "*****"; | |
| readonly string userAgent = "*****"; | |
| public IRestResponse<T> Execute<T>(MyRestRequest request, string clientUrl) where T : new() | |
| { | |
| BaseUrl = new Uri(clientUrl); |