GithubHelp home page GithubHelp logo

Comments (6)

pkozlowski-opensource avatar pkozlowski-opensource commented on July 4, 2024

@unclejustin could you please provide a minimal reproduce scenario using http://plnkr.co/ ? What you are saying doesn't sound right but it is hard to pin-point the exact issue without seeing the exact setup on your end. I suspect that you are not referencing ui.bootstrap as a module dependency, but this is just a guess atm.

from bootstrap-bower.

unclejustin avatar unclejustin commented on July 4, 2024

It's going to be hard to do since it is only failing when I actual install from bower. Here's the plunk I was using to troubleshoot, but it actually works. It's pretty simple to recreate on my local though. I run bower install angular-bootstrap then include <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>

Module: var arc = angular.module('arc', ['ngResource', 'ngCookies', 'ngSanitize', 'ui.bootstrap', 'ui.router', 'ui.validate', 'ui.sortable']);

When I poke around in the tpls file I don't see any references to template cache. I'm wide open to the fact that I am borking something here, but I don't see where yet.

http://plnkr.co/edit/Sjfb3Esx1NsjwaYGLMGZ?p=preview

from bootstrap-bower.

pkozlowski-opensource avatar pkozlowski-opensource commented on July 4, 2024

@unclejustin this is really weird since if you look at this file:
https://raw.github.com/angular-ui/bootstrap-bower/master/ui-bootstrap-tpls.min.js and search for $templateCache there are references to it. I really having hard time to explain what is going on on your end...

from bootstrap-bower.

unclejustin avatar unclejustin commented on July 4, 2024

Gah you're totally right and I found it. I had caching disabled in Chrome dev tools while since I was working on a custom directive earlier. Turned caching back on and everything is fine. Thanks for your help @pkozlowski-opensource

from bootstrap-bower.

ervbsankar avatar ervbsankar commented on July 4, 2024

when i deploy my code to production servers, how do i enable caching for browsers?

from bootstrap-bower.

unclejustin avatar unclejustin commented on July 4, 2024

@ervbsankar you can't. It's a setting on the user's local machine.

from bootstrap-bower.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.