Comments (4)
The change in PR #28 seems inconsistent with the way I'm used to exporting a module. I think we should return the name property. Not sure about the rest of you.
return angular.module('ngMeta', [])
.provider('ngMeta', function() {
...
})
.name // <-- return the name
Without returning the name, I need to
import angular from 'angular'
import 'ng-meta'
export const AppModule = angular
.module('app', [
'ngMeta'
])
.name
And I would like to:
import angular from 'angular'
import ngMeta from 'ng-meta'
export const AppModule = angular
.module('app', [
ngMeta
])
.name
from ngmeta.
@vinaygopinath can you check this please? we are hoping to use this in prod asap.
Thanks
McGilly
from ngmeta.
It would require a simple modification in the ngMeta.js. Just need to return the angular.module
name at the end of the file. I can make the PR if needed.
from ngmeta.
@devotis Thanks for the suggestion. I'm open for the module to return the name as long as it has no impact on the way the module is imported in other build systems. Would you be willing to test it out with webpack, and, say, gulp and make a new PR?
from ngmeta.
Related Issues (20)
- Doesn't work for skype links preview HOT 2
- ngMeta it's undefined in controller HOT 3
- Incompatible with ui-router 1.0+ HOT 10
- Google won't use the meta information
- ngMeta does not change title tag when placed in head HOT 1
- No substitution with grunt (angular 1.5.8) HOT 3
- Google Indexing Problem HOT 2
- google indexing does not index my description and title HOT 19
- One of my website meta tags are not initializing HOT 1
- Google search not using title, description tags HOT 2
- ngMeta is not initializing any more HOT 4
- Will this lib works for Facebook and Twitter? Or they would require server pre-caching of pages? HOT 1
- Not being able to display dynamic content HOT 1
- when i pen view source i don't see my title or description HOT 1
- How to use this with AngularJS Route? HOT 2
- WhatsApp not using ngMeta['og:description']
- README.md
- ngMeta.js:22 Uncaught TypeError: Cannot read property 'module' of undefined
- TypeError: Cannot read property 'meta' of undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngmeta.