Skip to content

Instantly share code, notes, and snippets.

View dapperdandev's full-sized avatar
🛠️
Building things

Daniel dapperdandev

🛠️
Building things
View GitHub Profile
@dapperdandev
dapperdandev / angularjs-directive-bindings-examples.md
Created May 20, 2019 02:16
AngularJS Directive Bindings Examples

NGJS Directive Bindings Examples

One Way Down

<one-way-down name="Daniel"></one-way-down>
...
@demisx
demisx / angularjs-providers-explained.md
Last active May 17, 2024 03:38
AngularJS Providers: Constant/Value/Service/Factory/Decorator/Provider
Provider Singleton Instantiable Configurable
Constant Yes No No
Value Yes No No
Service Yes No No
Factory Yes Yes No
Decorator Yes No? No
Provider Yes Yes Yes

Constant

<script>
// (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: mllegeorgesand@gmail.com
// See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus
var Shopify = Shopify || {};
Shopify.optionsMap = {};
Shopify.updateOptionsInSelector = function(selectorIndex) {